package com.surpermaket.service;

import com.surpermaket.entity.Menu;

import java.util.List;

public interface MenuService {

    public List<Menu> selectAll();

    //插入
    public int insert(Menu menu);

    //通过id删除
    public int deleteById(Long id);

    //查询一级菜单
    public List<Menu> selectOne();

    public List<Menu> selectTwo(Long value);

    public int Update(Menu menu);

}
